package com.zyj.eps.mapper;

import com.zyj.eps.pojo.Vaccine;
import com.zyj.eps.pojo.Vapply;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @author super
 * @date 2022/3/30 15:44
 */
public interface VaccineMapper {
    List<Vaccine> getAllVaccine();

    Vaccine getVaccineByVid(@Param("vid") int vid);

    int InsertVaccineApply(@Param("applyname") String applyname, @Param("auid") int auid, @Param("avid") int avid,@Param("avname")String avname,
                           @Param("applytime") String applytime, @Param("vtime") String vtime, @Param("vaddress") String vaddress);
    List<Vapply> getApplyVaccineList(@Param("auid") int auid);
}
